function do_load(url)
{
//    setTimeout(function() {
//        }
//        ,3000);
    $('#main').html('<div id="loader"><img src="asset/images/ajax-loader.gif" class="centeredImage"/></div>');
    $("#main").load(url, function(response, status, xhr) {
        if (status == "error") {
            var msg = "Sorry but there was an error: ";
            $("#main").html(msg + xhr.status + " " + xhr.statusText);
        }
    });
}
